import QtQuick 2.0
import org.qtproject.qtquick 1.0


Rectangle {
    id: id_avatar
    width: m_radius
    height: m_radius

    property string m_avatarUrl: avatarImage

    property int m_radius: 50 * m_ratio

    property int m_delta: m_radius *  ( Math.sqrt(2) - 1)


    Image {
        id: id_avatarImage
        width: parent.width
        height: parent.height

        source: m_avatarUrl
    }
}
